package com.ruoyi.stuinfo.service;

import java.util.List;
import com.ruoyi.stuinfo.domain.Accommodation;

/**
 * 住宿分配Service接口
 * 
 * @author zc
 * @date 2025-05-14
 */
public interface IAccommodationService 
{
    /**
     * 查询住宿分配
     * 
     * @param accommodationId 住宿分配主键
     * @return 住宿分配
     */
    public Accommodation selectAccommodationByAccommodationId(Long accommodationId);

    /**
     * 查询住宿分配列表
     * 
     * @param accommodation 住宿分配
     * @return 住宿分配集合
     */
    public List<Accommodation> selectAccommodationList(Accommodation accommodation);

    /**
     * 新增住宿分配
     * 
     * @param accommodation 住宿分配
     * @return 结果
     */
    public int insertAccommodation(Accommodation accommodation);

    /**
     * 修改住宿分配
     * 
     * @param accommodation 住宿分配
     * @return 结果
     */
    public int updateAccommodation(Accommodation accommodation);

    /**
     * 批量删除住宿分配
     * 
     * @param accommodationIds 需要删除的住宿分配主键集合
     * @return 结果
     */
    public int deleteAccommodationByAccommodationIds(Long[] accommodationIds);

    /**
     * 删除住宿分配信息
     * 
     * @param accommodationId 住宿分配主键
     * @return 结果
     */
    public int deleteAccommodationByAccommodationId(Long accommodationId);

    public List<Accommodation> selectAccommodationList_handteacher(String teacherId);
}
